package com.xzwk.subject.domain.convert;

import com.xzwk.subject.domain.dto.SubjectCategoryDTO;
import com.xzwk.subject.domain.entity.SubjectCategoryBO;
import com.xzwk.subject.infra.basic.entity.SubjectCategory;
import java.util.List;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface SubjectCategoryConverter {


  SubjectCategory toSubjectCategory(SubjectCategoryBO subjectCategoryBO);

  SubjectCategoryDTO toSubjectCategoryDTO(SubjectCategory subjectCategory);

  List<SubjectCategoryBO> toSubjectCategoryBO(List<SubjectCategory> subjectCategoryList);

  List<SubjectCategoryDTO> boToSubjectCategoryDTO(List<SubjectCategoryBO> subjectCategoryBOList);
}
